Repository navigation
runtime/shims: wire SGLang parallel_groups, EngineAdapter & scoped compose - #406
Merged
Merged
Conversation
…ter, declarative overrides, and canonical cache
…compose source_inventory per profile
…xpose row-owned prefill profile/checkpoint aliases Pass profile_id=profile_id from scripts/compose_builder/export.py to compose.identity_inventory so the browser Compose Builder engine matches compose.build deployment identities. Add ROW_OWNED_PREFILL_PROFILE and ROW_OWNED_PREFILL_CHECKPOINT to runtime/common/serving.py's backward-compatible __getattr__ aliases with test coverage in runtime/common/test_serving.py, and refresh generated Compose examples for the updated serving.py input digest.
FujitsuPolycom
force-pushed
the
feat/sglang-engine-adapter
branch
from
November 30, 2026 06:03
6df67ac to
09487db
Compare
FujitsuPolycom
added a commit
that referenced
this pull request
Nov 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Make SGLang and arbitrary Torch/NCCL containers ("oddities") first-class alongside vLLM, stop single-profile edits from churning all 43 checked-in Compose files, and fix broken
MetaPathFinderchaining across vLLM shims.What Changed
parallel_groups(runtime/common/stock_image.py): Connectparallel_groups.pyintostock_image.py(sglang_parallel_plan,sglang_parallel_problems), resolve the--pp-size > 1refusal contradiction with unified--tp-size/--pp-size/--ep-sizederivation, and makeSIRCL_GID_INDEXconfigurable (defaulting to3only as fallback).runtime/common/engine_adapter.py,serving.py,toolchain_profiles.py): IntroduceEngineAdapterABC withVllmAdapter,SglangAdapter, andGenericContainerAdapter; move experimental overrides out of core serving logic intoruntime/common/experimental-overrides.json(preserving__getattr__backward-compat aliases); add mtime-keyed caching totoolchain_profiles.canonical().atomic_io.py,installer.py,compose.py,scripts/compose_builder/export.py): Replace write-then-chmod with atomicO_CREAT|O_EXCL+fchmod; scopesource_inventory()andidentity_inventory(..., profile_id=profile_id)per profile (with one-time regeneration ofprofiles/*/compose/*).MetaPathFinderchaining (integrations/vllm/{ds41_row_shard,qwen4_*,glm*}): Replace directPathFinder.find_spec()calls with re-entrancy-guarded downstreamsys.meta_pathdelegation so stacked import hooks compose cleanly.Verification
pytestacrossruntime/common/,runtime/host/test_{stock_install,install_sircl}.py,integrations/vllm/{ds41_row_shard,qwen4_collectives,qwen4_prefill}, andscripts/compose_builder/test_compose_builder.py(1,357+ passed, 0 failures; incl. 57/57compose_builderand 80/80test_compose).python scripts/generate_compose_examples.py --check,python scripts/check_repository_layout.py,python scripts/check_release_safety.py ., andruff checkall passed cleanly.Risks / Follow-Ups
io.sparkring.deploymentinprofiles/*/compose/*; future single-profile edits now touch only that profile.python scripts/generate_compose_examples.pyafter resolvingserving.py.